package org.example.myleet.p933;

import org.example.myleet.Utils.Assert;

public class Main {
    public static void main(String[] args) {
        RecentCounter counter = new RecentCounter();
        Assert.isTrue(1 == counter.ping(1));
        Assert.isTrue(2 == counter.ping(100));
        Assert.isTrue(3 == counter.ping(3001));
        Assert.isTrue(3 == counter.ping(3002));
    }
}
